<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="css/bootstrap.css">

<style>
.top {
		padding-top:2cm;
		padding-right:4cm;
		text-align:right;
	 }
</style>
<script language="javascript"  type="text/javascript">
function checkform()
{	var message="";
	if (document.form.username.value=="") message+="- username \n";
	if (document.form.password.value=="") message+="- password\n";
	if (message.length > 0) 
	{	alert("กรุณาใส่ข้อมูลต่อไปนี้ให้เรียบร้อย\n"+message);
		return false;
	} 	else 
	{	return true;
	}
}
</script>
<title>Login</title>
</head>
<body>
<div class="top"><a href="register.html" align="left">CREATE NEW ACCOUNT</a></div>
<div class="container" align="center" >
<form method="post" action="Login" class="navbar-form pull-center" name="form" onSubmit="return checkform();">
		USERNAME : <input maxlength="10" name="username" type="text"><br>
		PASSWORD : <input maxlength="8" name="password" type="password"><br>
	     <input type="submit" name="submit" value="submit" class="btn">
</form>
</div>
</body>
</html>